Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Location2to3.html |
Url | http://hl7.org/fhir/StructureMap/Location2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Location2to3 |
Title | Location Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | LocationTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Location2to3' /// name = 'Location2to3' /// title = 'Location Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/Location" alias LocationR2 as source uses "http://hl7.org/fhir/3.0/Location" alias Location as target imports "http://hl7.org/fhir/StructureMap/*2to3" group Location(source src : LocationR2, target tgt : Location) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "Location-identifier"; src.status -> tgt.status "Location-status"; src.name -> tgt.name "Location-name"; src.description -> tgt.description "Location-description"; src.mode -> tgt.mode "Location-mode"; src.type -> tgt.type "Location-type"; src.telecom -> tgt.telecom "Location-telecom"; src.address -> tgt.address "Location-address"; src.physicalType -> tgt.physicalType "Location-physicalType"; src.position as vs0 -> tgt.position as vt0 then locPosition(vs0, vt0) "Location-position"; src.managingOrganization -> tgt.managingOrganization "Location-managingOrganization"; src.partOf -> tgt.partOf "Location-partOf"; } group locPosition(source src : Location, target tgt : LocationR2) extends BackboneElement { src.longitude -> tgt.longitude "position-longitude"; src.latitude -> tgt.latitude "position-latitude"; src.altitude -> tgt.altitude "position-altitude"; }
{
"resourceType" : "StructureMap",
"id" : "Location2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Location2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Location2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Location Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Location<span style=\"color: navy\">" </span><b>alias </b>LocationR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Location<span style=\"color: navy\">" </span><b>alias </b>Location <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Location<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>LocationR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Location<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"Location-identifier"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"Location-status"</i><span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"Location-name"</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"Location-description"</i><span style=\"color: navy\">;</span>\r\n src.mode<span style=\"color: navy\"><b> -> </b></span>tgt.mode <i>"Location-mode"</i><span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"Location-type"</i><span style=\"color: navy\">;</span>\r\n src.telecom<span style=\"color: navy\"><b> -> </b></span>tgt.telecom <i>"Location-telecom"</i><span style=\"color: navy\">;</span>\r\n src.address<span style=\"color: navy\"><b> -> </b></span>tgt.address <i>"Location-address"</i><span style=\"color: navy\">;</span>\r\n src.physicalType<span style=\"color: navy\"><b> -> </b></span>tgt.physicalType <i>"Location-physicalType"</i><span style=\"color: navy\">;</span>\r\n src.position<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.position<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>locPosition<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"Location-position"</i><span style=\"color: navy\">;</span>\r\n src.managingOrganization<span style=\"color: navy\"><b> -> </b></span>tgt.managingOrganization <i>"Location-managingOrganization"</i><span style=\"color: navy\">;</span>\r\n src.partOf<span style=\"color: navy\"><b> -> </b></span>tgt.partOf <i>"Location-partOf"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>locPosition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Location, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>LocationR2<span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.longitude<span style=\"color: navy\"><b> -> </b></span>tgt.longitude <i>"position-longitude"</i><span style=\"color: navy\">;</span>\r\n src.latitude<span style=\"color: navy\"><b> -> </b></span>tgt.latitude <i>"position-latitude"</i><span style=\"color: navy\">;</span>\r\n src.altitude<span style=\"color: navy\"><b> -> </b></span>tgt.altitude <i>"position-altitude"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Location2to3",
"version" : "0.1.0",
"name" : "Location2to3",
"title" : "Location Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "LocationTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/Location",
"mode" : "source",
"alias" : "LocationR2"
},
{
"url" : "http://hl7.org/fhir/3.0/Location",
"mode" : "target",
"alias" : "Location"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "Location",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "LocationR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "Location",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Location-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-mode",
"source" : [
{
"context" : "src",
"element" : "mode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "mode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-telecom",
"source" : [
{
"context" : "src",
"element" : "telecom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "telecom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-address",
"source" : [
{
"context" : "src",
"element" : "address",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "address",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-physicalType",
"source" : [
{
"context" : "src",
"element" : "physicalType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "physicalType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-position",
"source" : [
{
"context" : "src",
"element" : "position",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "position",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "locPosition",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "Location-managingOrganization",
"source" : [
{
"context" : "src",
"element" : "managingOrganization",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "managingOrganization",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Location-partOf",
"source" : [
{
"context" : "src",
"element" : "partOf",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "partOf",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "locPosition",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"type" : "Location",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "LocationR2",
"mode" : "target"
}
],
"rule" : [
{
"name" : "position-longitude",
"source" : [
{
"context" : "src",
"element" : "longitude",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "longitude",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "position-latitude",
"source" : [
{
"context" : "src",
"element" : "latitude",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "latitude",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "position-altitude",
"source" : [
{
"context" : "src",
"element" : "altitude",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "altitude",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.